#find_package(TIFF REQUIRED)

set(slice2cube_SRCS
	main.cc
	slice2cube.cc
	loadtiff.cc
	writenrrd.cc
	)
add_executable(slice2cube ${slice2cube_SRCS})
target_link_libraries(slice2cube ${TIFF_LIBRARIES} fntshared)
target_include_directories(slice2cube SYSTEM PUBLIC ${TIFF_INCLUDE_DIR})
target_include_directories(slice2cube PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../../shared")
set_target_properties(slice2cube PROPERTIES OUTPUT_NAME "${PACKAGE_NAME}-slice2cube")
install(TARGETS slice2cube RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")

